Skip to main content
Version: 2.x.x

OnProgressCallbackType


import { OnProgressCallbackType } from "@hyper-fetch/react"

Description

Defined in helpers/use-command-events/use-command-events.types.ts:105

Preview

type OnProgressCallbackType = <Command>(progress: FetchProgressType, details: CommandEventDetails<Command>) => void | Promise<void>;

Structure

(progress: FetchProgressType, details: CommandEventDetails<Command>) => void | Promise<void>